* {
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(200deg, #b1f4cf, #9890e3);
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: 300px;
}
.container:hover .card {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}

.card {
  position: absolute;
  background-color: #fff;
  width: 430px;
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-radius: 100px 20px 20px 100px;
  opacity: 0;
  -webkit-animation: animate 15s linear infinite;
          animation: animate 15s linear infinite;
}
.card:nth-child(2) {
  -webkit-animation-delay: 3s;
          animation-delay: 3s;
}
.card:nth-child(3) {
  -webkit-animation-delay: 6s;
          animation-delay: 6s;
}
.card:nth-child(4) {
  -webkit-animation-delay: 9s;
          animation-delay: 9s;
}
.card:nth-child(5) {
  -webkit-animation-delay: 12s;
          animation-delay: 12s;
}
.card .content {
  display: flex;
  align-items: center;
}
.card .detail {
  margin-left: 100px;
}
.card .detail span {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.card .img {
  width: 90px;
  height: 90px;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #fff;
  padding: 5px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.card .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}
.card a {
  font-size: 14px;
  text-decoration: none;
  background: linear-gradient(to bottom, #fbc5ed, #a6c1ee);
  padding: 7px 18px;
  color: #fff;
  border-radius: 25px;
}

@-webkit-keyframes animate {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(0.5);
  }
  5%, 20% {
    opacity: 0.4;
    transform: translateY(100%) scale(0.7);
  }
  25%, 40% {
    opacity: 1;
    transform: translateY(0%) scale(1);
  }
  45%, 60% {
    opacity: 0.4;
    transform: translateY(-100%) scale(0.7);
  }
  65%, 100% {
    opacity: 0;
    transform: translateY(-100%) scale(0.5);
  }
}

@keyframes animate {
  0% {
    opacity: 0;
    transform: translateY(100%) scale(0.5);
  }
  5%, 20% {
    opacity: 0.4;
    transform: translateY(100%) scale(0.7);
  }
  25%, 40% {
    opacity: 1;
    transform: translateY(0%) scale(1);
  }
  45%, 60% {
    opacity: 0.4;
    transform: translateY(-100%) scale(0.7);
  }
  65%, 100% {
    opacity: 0;
    transform: translateY(-100%) scale(0.5);
  }
}/*# sourceMappingURL=index.css.map */